﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.DLR
{
    /// <summary>
    /// 
    /// </summary>
    public interface ICustomSerializable
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        string Serialize(object obj);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="val"></param>
        /// <returns></returns>
        object Deserialize(string val);
    }
}
